.footer {
    position: relative;
    bottom: 0px;
    width: 100%;
    padding-top: 50px;
    background-color: white;
}

.upper-footer {
    display: flex;
    justify-content: space-around;
    height: 60px;
    width: 100%;
    border-top: 2px solid rgb(200, 200, 200);
    border-bottom: 2px solid rgb(200, 200, 200);
}

.upper-text {
    margin-top: auto;
    margin-bottom: auto;
    color: rgb(40, 40, 40);
    font-family: Santral;
    font-size: 14px;
}

    .upper-text:hover {
        cursor: pointer;
    }

.lower-footer {
    display: flex;
    justify-content: space-between;
    padding: 0px 40px 40px 40px;
}

.footer-left {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 10px;
    width: 100%;
}

.footer-right {
    height: 100%;
    width: 100%;
}

.footer-column {
    height: 100%;
    width: 100%;
}

.footer-column-last {
    min-width: 20px;
}

.footer-list {
    margin-top: 30px;
    padding: 0px;
    list-style: none;
    white-space: nowrap;
}

.footer-list > li {
    padding-top: 16px;
    color: rgb(60, 60, 60);
    font-family: Santral Bold;
    font-size: 12px;
}

.footer-list-text {
    display: inline-block;
    text-decoration: none;
    color: rgb(60, 60, 60);
}

.footer-list-text:after {
    position: relative;
    bottom: 2px;
    height: 2px;
    width: 100%;
    display: block;
    content: '';
    border-bottom: 1px solid rgb(238, 36, 69);
    transform: scaleX(0);
    transition: transform 0.4s ease-out;
}
    
    .footer-list-text:hover:after {
        transform: scaleX(1);
    }

.from-left:after {
    transform-origin: 0% 50%;
}

.footer-list:before {
    position: relative;
    bottom: 10px;
    content: attr(aria-label);
    font-family: Santral Bold;
    font-size: 14px;
    font-weight: bold;
}

.show {
    transform: translateX(0px);
    opacity: 1;
}

.email-list-and-social-container {
    position: relative;
    float: right;
    height: 100%;
}

.email-list-title {
    padding-top: 20px;
    font-family: Santral Bold;
    font-size: 14px;
    font-weight: bold;
}

.email-list-text {
    max-width: 360px;
    margin-top: 20px;
    font-family: Santral;
    font-size: 12px;
}

.email-list-wrap {
    margin-bottom: 20px;
}

.email-list-textbox-wrap {
    position: relative;
    margin-top: 20px;
}

.email-list-textbox {
    position: relative;
    height: 30px;
    width: 80%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid grey;
    z-index: 1;
}

.email-list-textbox:focus {
    outline: none;
}

.email-list-textbox:focus ~ .email-list-label {
    bottom: 28px;
    font-size: 12px;
}

.email-list-textbox:not(:placeholder-shown) ~ .email-list-label {
    bottom: 28px;
    font-size: 12px;
}

.email-list-label {
    position: absolute;
    bottom: 4px;
    left: 0px;
    color: grey;
    font-family: Montserrat Light;
    font-size: 16px;
    transition: 0.3s;
    z-index: 0;
}

.newsletter-warning {
    display: none;
    color: red;
    font-family: Santral;
    font-size: 12px;
}

.newsletter-warning-active {
    display: inline-block;
}

.email-list-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 30px;
    width: 100px;
    margin-top: 10px;
    text-align: center;
    color: white;
    font-family: Montserrat;
    font-size: 12px;
    background-color: rgb(20, 20, 20);
    border: none;
    transition: 0.2s;
}

    .email-list-button:hover {
        cursor: pointer;
        background-color: rgb(238, 36, 69);
    }

.email-signed-up-check {
    height: 20px;
    width: 20px;
    margin-right: 4px;
    vertical-align: middle;
}

.email-signed-up-confirmation-text {
    display: inline-block;
    max-width: 200px;
    vertical-align: middle;
    font-family: Santral;
    font-size: 12px;
}

.newsletter-info-link {
    text-decoration: none;
    color: black;
    font-family: Santral;
    font-size: 12px;
}

    .newsletter-info-link:hover {
        color: rgb(238, 36, 69);
    }

    .newsletter-info-link:hover .newsletter-info-link-arrow {
        filter: invert(27%) sepia(90%) saturate(3124%) hue-rotate(334deg) brightness(92%) contrast(104%);
    }

.newsletter-info-link-arrow {
    position: relative;
    top: 1px;
    height: 10px;
    width: 10px;
    filter: brightness(0%);
}

.social-links-wrap {
    height: 50px;
    width: 100%;
    margin-top: 20px;
}

.social-links-text {
    display: inline-block;
    margin-right: 12px;
    color: rgb(40, 40, 40);
    font-family: Santral Medium;
    font-size: 16px;
}

.social-image-wrap {
    display: inline-block;
}

.social-image-column-wrap {
    position: relative;
    top: 6px;
    display: flex;
    column-gap: 12px;
}

.social-image {
    height: 24px;
    width: 24px;
    transition: filter 0.2s;
}

    .social-image:hover {
        cursor: pointer;
        filter: brightness(500%);
    }

@media only screen and (max-width: 768px) {
    .footer {
        max-height: none;
    }

    .lower-footer {
        flex-direction: column;
        padding: 0px 20px 20px 20px;
    }

    .footer-left {
        display: flex;
        flex-direction: column;
    }

    .footer-list:before {
        font-size: 16px;
        white-space: normal;
    }

    .footer-list > li {
        font-family: Nunito;
        font-size: 12px;
        white-space: normal;
    }

    .footer-list:before {
        font-family: Nunito;
        font-weight: 500;
    }

    .email-list-and-social-container {
        float: left;
    }

    .email-list-title {
        font-family: Nunito;
        font-size: 16px;
        font-weight: 500;
    }

    .email-list-text {
        color: rgb(60, 60, 60);
        font-family: Nunito;
    }

    .email-list-textbox {
        border-radius: 0px;
    }

    .email-list-label {
        font-family: Nunito;
    }

    .email-list-button {
        font-family: Santral Medium;
    }

    .newsletter-info-link {
        color: rgb(60, 60, 60);
        font-family: Nunito;
    }
}